tailwind center absolute

56

absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2
<div class="flex h-screen">
  <div class="m-auto">
    <h3>title</h3>
    <button>button</button>
  </div>
</div>

Comments

Submit
0 Comments